<?php
/**
 * Created by littleU.
 * User: littleU
 * Date: 2021-01-29
 * Time: 15:45
 */

namespace app\api\validate;


class ProductAdd extends BaseValidate
{
    protected $rule = [
        'category_id' => 'require|isPositiveInteger',
        'name' => 'require|unique:product'
    ];
}